package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 点位巡逻记录(行政)对象 pt_site_record_staff
 * 
 * @author mlb
 * @date 2022-11-23
 */
public class PtSiteRecordStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long schoolId;
    private Long groupId;
    /** 排班ID */
    @Excel(name = "排班ID")
    private Long scheduleId;

    private Date date;

    /** 上传图片地址 */
    @Excel(name = "上传图片地址")
    private String photoUrl;

    /** 巡逻点位ID */
    @Excel(name = "巡逻点位ID")
    private Long siteId;

    /** 巡逻点位名称 */
    @Excel(name = "巡逻点位名称")
    private String siteName;

    /** 线路ID */
    @Excel(name = "线路ID")
    private Long lineId;

    /** 线路名称 */
    @Excel(name = "线路名称")
    private String lineName;

    /** 巡查状态：0、正常，1、异常，2、关闭（已处理），-1未开始巡查 */
    @Excel(name = "巡查状态：0、正常，1、异常，2、关闭", readConverterExp = "已=处理")
    private Integer state;

    /** 巡查打卡时的经度 */
    @Excel(name = "巡查打卡时的经度")
    private String longitude;

    /** 巡查打卡时的纬度 */
    @Excel(name = "巡查打卡时的纬度")
    private String latitude;

    private PtLine line;
    private PtSchool school;

    private String handleInfo;
    private String groupName;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getHandleInfo() {
        return handleInfo;
    }

    public void setHandleInfo(String handleInfo) {
        this.handleInfo = handleInfo;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public PtLine getLine() {
        return line;
    }

    public void setLine(PtLine line) {
        this.line = line;
    }

    public PtSchool getSchool() {
        return school;
    }

    public void setSchool(PtSchool school) {
        this.school = school;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void setScheduleId(Long scheduleId)
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setSiteName(String siteName) 
    {
        this.siteName = siteName;
    }

    public String getSiteName() 
    {
        return siteName;
    }
    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scheduleId", getScheduleId())
            .append("photoUrl", getPhotoUrl())
            .append("siteId", getSiteId())
            .append("siteName", getSiteName())
            .append("lineId", getLineId())
            .append("lineName", getLineName())
            .append("state", getState())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
